home *** CD-ROM | disk | FTP | other *** search
- 140
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- GetFilename
- --- RECORDSEPARATOR ---
- (continued)
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- The flags argument allows you to change the way the dialog box looks and behaves.
- --- RECORDSEPARATOR ---
- It can be the combination of any of these values on
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- :
- --- RECORDSEPARATOR ---
- 1
- --- RECORDSEPARATOR ---
- OFN_READONLY
- --- RECORDSEPARATOR ---
- Causes the Read Only check box to be checked initially when the dialog box is created.
- --- RECORDSEPARATOR ---
- 2
- --- RECORDSEPARATOR ---
- OFN_OVERWRITEPROMPT
- --- RECORDSEPARATOR ---
- Causes the Save As dialog box to generate a message box if the selected file already
- --- RECORDSEPARATOR ---
- exists. The user must confirm whether to overwrite the file.
- --- RECORDSEPARATOR ---
- 4
- --- RECORDSEPARATOR ---
- OFN_HIDEREADONLY
- --- RECORDSEPARATOR ---
- Hides the Read Only check box.
- --- RECORDSEPARATOR ---
- 8
- --- RECORDSEPARATOR ---
- OFN_NOCHANGEDIR
- --- RECORDSEPARATOR ---
- Restores the current directory
- --- RECORDSEPARATOR ---
- to its original value if the user changed the directory while
- --- RECORDSEPARATOR ---
- selecting a file.
- --- RECORDSEPARATOR ---
- 32
- --- RECORDSEPARATOR ---
- OFN_ADDEXTENSION
- --- RECORDSEPARATOR ---
- If the user enters a name without an extension, the first extension listed in the Filter
- --- RECORDSEPARATOR ---
- argument will be added to the end of the returned filename.
- --- RECORDSEPARATOR ---
- 256
- --- RECORDSEPARATOR ---
- OFN_RETURNASLIST
- --- RECORDSEPARATOR ---
- If OFN_ALLOWMULTISELECT is specified, returns the filenames as a list.
- --- RECORDSEPARATOR ---
- 512
- --- RECORDSEPARATOR ---
- OFN_ALLOWMULTISELECT
- --- RECORDSEPARATOR ---
- Specifies that the File Name list box allows multiple selections.
- --- RECORDSEPARATOR ---
- 2048
- --- RECORDSEPARATOR ---
- OFN_PATHMUSTEXIST
- --- RECORDSEPARATOR ---
- Specifies that the user can type only valid paths and filenames. If this flag is used and the
- --- RECORDSEPARATOR ---
- user types an invalid path and filename in the File Name entry field, the dialog box
- --- RECORDSEPARATOR ---
- function displays a warning in a message box.
- --- RECORDSEPARATOR ---
- 4096
- --- RECORDSEPARATOR ---
- OFN_FILEMUSTEXIST
- --- RECORDSEPARATOR ---
- Specifies that the user can type only names of
- --- RECORDSEPARATOR ---
- existing files in the File Name entry field. If
- --- RECORDSEPARATOR ---
- this flag is specified and the user enters an invalid name, the dialog box procedure
- --- RECORDSEPARATOR ---
- displays a warning in a message box.
- --- RECORDSEPARATOR ---
- 8192
- --- RECORDSEPARATOR ---
- OFN_CREATEPROMPT
- --- RECORDSEPARATOR ---
- Specifies that the dialog box function should ask whether the user wants to create a file
- --- RECORDSEPARATOR ---
- that does not currently exist.
- --- RECORDSEPARATOR ---
- 32768
- --- RECORDSEPARATOR ---
- OFN_NOREADONLYRETURN
- --- RECORDSEPARATOR ---
- Specifies that the returned file does not have the Read Only check box checked and is not
- --- RECORDSEPARATOR ---
- in a write-protected directory.
- --- RECORDSEPARATOR ---
- 131072
- --- RECORDSEPARATOR ---
- OFN_NONETWORKBUTTON
- --- RECORDSEPARATOR ---
- Hides and disables the Network button.
- --- RECORDSEPARATOR ---
- 262144
- --- RECORDSEPARATOR ---
- OFN_NOLONGNAMES
- --- RECORDSEPARATOR ---
- Specifies that long filenames are not displayed in the File Name list box. This value is
- --- RECORDSEPARATOR ---
- ignored if OFN_EXPLORER is set.
- --- RECORDSEPARATOR ---
- These values are available in 32 bit only
- --- RECORDSEPARATOR ---
- 524288
- --- RECORDSEPARATOR ---
- OFN_EXPLORER
- --- RECORDSEPARATOR ---
- Creates an Open or Save As dialog box that uses user-interface features similar to the
- --- RECORDSEPARATOR ---
- Windows Explorer.
- --- RECORDSEPARATOR ---
- 1048576
- --- RECORDSEPARATOR ---
- OFN_NODEREFERENCELINKS
- --- RECORDSEPARATOR ---
- Directs the dialog box to return the path and filename of the selected shortcut (.LNK) file.
- --- RECORDSEPARATOR ---
- If this value is not given, the dialog box returns the path and filename of the file
- --- RECORDSEPARATOR ---
- referenced by the shortcut.
- --- RECORDSEPARATOR ---
- 2097152
- --- RECORDSEPARATOR ---
- OFN_LONGNAMES
- --- RECORDSEPARATOR ---
- Causes the Open or Save As dialog box to display long filenames. If this flag is not
- --- RECORDSEPARATOR ---
- specified, the dialog box displays filenames in 8.3 format. This value is ignored if
- --- RECORDSEPARATOR ---
- OFN_EXPLORER is set.
- --- RECORDSEPARATOR ---
- 4194304
- --- RECORDSEPARATOR ---
- OFN_SHOWPLACESBAR
- --- RECORDSEPARATOR ---
- Shows the Places bar. Only available on ME/2000/XP. Has no effect unless
- --- RECORDSEPARATOR ---
- OFN_EXPLORER is also specified. Note that if this flag is specified then the Position
- --- RECORDSEPARATOR ---
- arguments are ignored - Windows will p
- --- RECORDSEPARATOR ---
- lace the dialog in the last place left by the user.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- (continued next page)